package com.erp.bean;

import java.sql.Timestamp;

/**
 * @author lyb
 * 创建评价实体类
 */
public class Evaluate {
    /**
     * 评价编号
     */
    private int evaid;
    /**
     * 供应商编号
     */
    private int supid;
    /**
     * 订单编号
     */
    private String oid;
    /**
     * 评价内容
     */
    private String content;
    /**
     * 评价时间
     */
    private Timestamp evatime;

    public Evaluate(int supid, String oid, String content) {
        this.supid = supid;
        this.oid = oid;
        this.content = content;
    }

    public Evaluate(int supid, int oid, String content, Timestamp evatime) {
    }

    @Override
    public String toString() {
        return "Evaluate{" +
                "evaid=" + evaid +
                ", supid=" + supid +
                ", oid=" + oid +
                ", content=" + content +
                ", evatime=" + evatime +
                '}';
    }

    public Evaluate(int supid, String oid, String content, Timestamp evatime) {
        this.supid = supid;
        this.oid = oid;
        this.content = content;
        this.evatime = evatime;
    }

    public Evaluate() {
    }

    public Evaluate(int evaid, int supid, String oid, String content, Timestamp evatime) {
        this.evaid = evaid;
        this.supid = supid;
        this.oid = oid;
        this.content = content;
        this.evatime = evatime;
    }

    public int getEvaid() {
        return evaid;
    }

    public void setEvaid(int evaid) {
        this.evaid = evaid;
    }

    public int getSupid() {
        return supid;
    }

    public void setSupid(int supid) {
        this.supid = supid;
    }

    public String getOid() {
        return oid;
    }

    public void setOid(String oid) {
        this.oid = oid;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public Timestamp getEvatime() {
        return evatime;
    }

    public void setEvatime(Timestamp evatime) {
        this.evatime = evatime;
    }
}
